﻿
using System.ComponentModel.DataAnnotations;

namespace DemoEF.Model
{
   public class Product
    {
       public int ProductId { get; set; }
       [ConcurrencyCheck]
       public string Name { get; set; }
       public int CategoryId { get; set; }
       public virtual Category Category { get; set; }
    }
}
